package com.xjscrm.console.dto.chat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 聊天回话(ChatTalkSession)表DTO
 *
 * @author szl
 * @since 2024-03-12 14:49:38
 */
@Data
@ApiModel("聊天回话 DTO对象")
public class ChatTalkSessionOptDTO {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("主键id集合, 解除屏蔽时传递")
    private List<Long> ids;

    @ApiModelProperty("运营商")
    private Long merId;

    @ApiModelProperty("机器人id")
    private Long deviceUniqueId;

    @ApiModelProperty("机器人id集合, 同步屏蔽会话时传递")
    private List<Long> deviceUniqueIds;

    @ApiModelProperty("机器人wxId")
    private String deviceId;

    @ApiModelProperty("机器人类型")
    private Integer deviceType;

    @ApiModelProperty("回话id. 可为单聊或群聊微信id")
    private String conversationId;

    @ApiModelProperty("回话名称, 私聊为好友名称, 群聊为群名")
    private String conversationName;

    @ApiModelProperty("回话头像")
    private String conversationAvatar;

    @ApiModelProperty("回话备注")
    private String conversationRemark;

    @ApiModelProperty("会话类型. 110:单聊, 111:群聊")
    private Integer type;

    @ApiModelProperty("开启免打扰, 0:关闭,1:打开")
    private Integer openSilence;

    @ApiModelProperty("开启置顶, 0:关闭,1:打开")
    private Integer openPinTop;

    @ApiModelProperty("开启屏蔽, 0:关闭,1:打开")
    private Integer openShield;

}

